Optimal. Leaf size=21 \[ \frac {1}{2} \tan ^{-1}(2 x+1)-\frac {1}{2} \tan ^{-1}(1-2 x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 21, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 3, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {1162, 617, 204} \[ \frac {1}{2} \tan ^{-1}(2 x+1)-\frac {1}{2} \tan ^{-1}(1-2 x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 204
Rule 617
Rule 1162
Rubi steps
\begin {align*} \int \frac {1+2 x^2}{1+4 x^4} \, dx &=\frac {1}{4} \int \frac {1}{\frac {1}{2}-x+x^2} \, dx+\frac {1}{4} \int \frac {1}{\frac {1}{2}+x+x^2} \, dx\\ &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1-2 x\right )-\frac {1}{2} \operatorname {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1+2 x\right )\\ &=-\frac {1}{2} \tan ^{-1}(1-2 x)+\frac {1}{2} \tan ^{-1}(1+2 x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 17, normalized size = 0.81 \[ -\frac {1}{2} \tan ^{-1}\left (\frac {2 x}{2 x^2-1}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.42, size = 15, normalized size = 0.71 \[ \frac {1}{2} \, \arctan \left (2 \, x^{3} + x\right ) + \frac {1}{2} \, \arctan \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.16, size = 46, normalized size = 2.19 \[ \frac {1}{2} \, \arctan \left (2 \, \sqrt {2} \left (\frac {1}{4}\right )^{\frac {3}{4}} {\left (2 \, x + \sqrt {2} \left (\frac {1}{4}\right )^{\frac {1}{4}}\right )}\right ) + \frac {1}{2} \, \arctan \left (2 \, \sqrt {2} \left (\frac {1}{4}\right )^{\frac {3}{4}} {\left (2 \, x - \sqrt {2} \left (\frac {1}{4}\right )^{\frac {1}{4}}\right )}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 18, normalized size = 0.86 \[ \frac {\arctan \left (2 x +1\right )}{2}+\frac {\arctan \left (2 x -1\right )}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 2.24, size = 17, normalized size = 0.81 \[ \frac {1}{2} \, \arctan \left (2 \, x + 1\right ) + \frac {1}{2} \, \arctan \left (2 \, x - 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.29, size = 15, normalized size = 0.71 \[ \frac {\mathrm {atan}\left (2\,x^3+x\right )}{2}+\frac {\mathrm {atan}\relax (x)}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.11, size = 14, normalized size = 0.67 \[ \frac {\operatorname {atan}{\relax (x )}}{2} + \frac {\operatorname {atan}{\left (2 x^{3} + x \right )}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________